SELECT engine, extract(engine_full, 'SETTINGS .+')
FROM system.tables
WHERE database = currentDatabase()
  AND name = 'sessions_v2'
